@media only screen and (min-width: 480px) {
  html {
    font-size: 21px;
  }
}
@media only screen and (min-width: 540px) {
  html {
    font-size: 28px;
  }
}
@media only screen and (min-width: 640px) {
  html {
    font-size: 31px;
  }
}

@font-face {
  font-family: 'iconfont';
  src: url('http://at.alicdn.com/t/font_1411786812_1361964.eot'); /* IE9*/
  src: url('http://at.alicdn.com/t/font_1411786812_1361964.woff') format('woff'), /* chrome、firefox */
       url('http://at.alicdn.com/t/font_1411786812_1361964.ttf') format('truetype'); /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
}
.iconfont {
  font-family: "iconfont";
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  vertical-align: top;
  color: inherit;
}

body {
  padding-bottom: 4em;
  background-color: #f2f2f2;
  min-height: 100%;
  overflow-x: hidden;
}

.pt15 {
	padding-top: 15px;
}

.bgc-e5 {
	 background: #E5E5E5;
}


/* 
 * 商城通用类
 */
.preloader-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 80px;
  line-height: 80px;
  border-radius: 5px;
  margin-top: -40px;
  margin-left: -75px;
  text-align: center;
  background: rgba(0,0,0,.6);
  color: #fff;
}
.alert-msg {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 90%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 9999;
  -webkit-transition: opacity .5s ease-in-out;
          transition: opacity .5s ease-in-out;
  text-align: center;
}
.alert-msg-content {
  display: inline-block;
  padding: .8em 1em;
  border-radius: .3em;
  background-color: rgba(51,51,51,.8);
  word-break: break-all;
  color: #fff;
  text-align: left;
}


/* 列表 */
.lists {
  margin: .5em;
  border: 1px solid #ddd;
  border-radius: .5em;
  background-color: #fff;
}

.lists-item {
  position: relative;
  line-height: 1.6em;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.lists-item:last-child {
  border-bottom: 0;
}
.lists-item-link {
  padding: 1em;
  display: block;
}
.lists-item::after {
  position: absolute;
  top: 50%;
  right: 1em;
  width: 1em;
  height: 1em;
  border: 2px solid #ccc;
  content: "";
  -webkit-transform: rotate(-45deg) translateY(-50%);
  -ms-transform: rotate(-45deg) translateY(-50%);
  transform: rotate(-45deg) translateY(-50%);
  border-top-color: transparent;
  border-left-color: transparent
}
.lists-item.single::after {
  content: none;
}

/* 数量增减 */
.pr-num {
  width: 6em;
  border: 1px solid #ccc;
  text-align: center;
  border-radius: .2em;
}
.pr-num-input {
  border: none;
  border-radius: 0;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  margin: 0;
  height: 2em;
  text-align: center;
}
.pr-num-minus,
.pr-num-plus {
  height: 2em;
  line-height: 2em;
  -webkit-user-select: none;
  user-select: none;
}

/* 突出颜色字 */
.stress {
  color: #f60;
}
.mg1 {
  margin: 1em;
}
.mt1 {
  margin-top: 1em;
}


.pr-block {
  margin-bottom: 1em;
}
.pr-block-title {
  border-bottom: 1px solid #649fe1;
  background-color: #f3f7fc;
  color: #246dbf;
}
.pr-block-title-a {
  display: block;
  padding: .5rem 1rem;
  color: #246dbf;
}
.pr-block-content {
  padding: .5em .5em 0;
}
.pr-btn {
  height: 3.5em;
}

/* 主菜单导航 */
.pr-nav {
  position: fixed;
  width: 100%;
  bottom: 0;
  border-top: 1px solid #e9e9e9;
  background-color: #f7f7f7;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
  background-image: -webkit-linear-gradient(top, #fff, #eee);
  background-image: linear-gradient(to bottom, #fff, #eee);
}
.pr-nav-item {
  padding-top: .2em;
  height: 3em;
  text-align: center;
  color: #444;
}
.pr-nav-item .iconfont {
  display: inline-block;
  font-size: 1.6em;
}
.pr-nav-title {
  font-size: .8em;
}

/* 版权信息 */
.pr-copyright {
  color: #666;
  text-align: center;
  font-size: .8em;
  margin-top: 10px;
  clear: both; 
}

/* 商品列表 */
.pr-item {
  float: left;
  width: 48%;
  margin-bottom: .5em;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: .2em;
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
  white-space: nowrap;
  overflow: hidden;
}
.pr-item:nth-of-type(odd) {
  margin-right: 1%;
}
.pr-item:nth-of-type(even) {
  margin-left: 1%;
}
.pr-item-image {
  height: 10em;
  overflow: hidden;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}
.pr-item-info {
  padding: .2em .5em;
}
.pr-item-name {
  margin-top: .2em;
}
.pr-item-price {
  margin: .2em 0;
}
.pr-item-nowprice {
  font-size: 1.1em;
  color: #f00;
}
.pr-item-originprice {
  color: #666;
}
.pr-item-saled-count {
  color: #555;
  font-size: .8em;
}


/* 栏目 */
.pr-category-item {
  margin-bottom: .5em;
  padding: .5em .2em;
  background-color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.pr-category-item:nth-of-type(1) {
  margin-right: .5em;
}
.pr-category-item:nth-of-type(2) {
  margin-left: .5em;
}

/* 商城底部其他信息 */
.pr-bottom {
  margin-top: .5em;
  margin-bottom: .5em;
  text-align: center;
}
.pr-bottom-nav {
  padding: 0 .5em;
  line-height: 1em;
  border-right: .1em solid #888;
  color: #666;
  font-size: .8em;
}
.pr-bottom-nav:last-of-type {
  border-right: none;
}

/* topbar */
.top-bar {
  position: relative;
  top: 0;
  width: 100%;
  background-color: #ff746c;
  color: #fff;
}
.top-bar .top-bar-back,
.top-bar .top-bar-menu {
  width: 4em;
  height: 3em;
  line-height: 3em;
  text-align: center;
  color: #fff;
}
.top-bar-name {
  font-size: 1em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-bar-back:before {
  content: "";
  display: inline-block;
  width: .8em;
  height: .8em;
  border-color: #fff;
  border-style: solid;
  border-width: 0 .2em .2em 0;
  -webkit-transform: rotate(135deg);
      -ms-transform: rotate(135deg);
          transform: rotate(135deg);
}


/* 加载更多 */
.read-more {
  padding: .5em;
  text-align: center;
}

/* 商品详情 */
.pr-detail {
  margin-bottom: 1em;
  padding: 0 .5em;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
}
.pr-detail-title {
  height: 2.8em;
  line-height: 2.8em;
  border-bottom: 1px solid #ddd;
}
.pr-detail-content {
  padding: .5em 0;
}
.pr-detail-info {
  padding-top: .5rem;
  padding-bottom: .5rem;
  font-size: .8em;
}
.pr-info-freight {
  margin-top: .5em;
  padding-top: .5em;
  border-top: 1px dashed #ddd;
}
.pr-info-now-price {
  font-size: 1.2rem;
  color: #c40;
}
.pr-info-origin-price {
  margin-top: .3rem;
  color: #666;
}
.pr-info-saled {
  margin-top: .3rem;
}

.pr-check-item {
  margin-bottom: .5em;
}
.pr-check-key {
  display: inline-block;
}
.pr-check-value {
  display: inline-block;
}
.pr-check-value-item {
  display: inline-block;
  padding: .4em .7em;
  border: 1px solid #ccc;
  border-radius: .2em;
}
.pr-check-value-item.checked {
  border-color: #f60;
  color: #f60;
}

.pr-buy-action {
  /*position: fixed;*/
  bottom: 0;
  width: 100%;
  background-color: #f8f8f7;
  border-top: 1px solid #cdcdcd;
  padding: .5em;
  text-align: center;
}

.btn-action-orange,
.btn-action-red {
  padding: .5em;
  color: #fff;
}
.btn-action-orange {
  background-color: #ff9400;
}
.btn-action-red {
  background-color: #ff5000;
}

/* 商品评价及详情 */
.pr-cc-header {
  width: 80%;
  margin: .7em auto;
  border: 1px solid #ff5000;
  border-radius: .2em;
}
.pr-cc-header-item {
  height: 2em;
  line-height: 2em;
  border-right: 1px solid #ff5000;
  text-align: center;
}
.pr-cc-header-item:last-of-type {
  border-right: none;
}
.pr-cc-header-item.current {
  background-color: #ff5000;
  color: #fff;
}

/* 购物车 */
.pr-empty-cart {
  padding: 1em;
  text-align: center;
}
.pr-cart-icon {
  margin: 1em 0;
}
.pr-cart-icon .iconfont {
  font-size: 9em;
  color: #c5c5c5;
}
.pr-empty-message {
  margin-bottom: 2em;
}
.pr-empty-button {
  display: inline-block;
  margin-bottom: 5em;
  padding: .5em 2em;
  border: 1px solid #333;
  border-radius: .3em;
}
.pr-empty-button:active {
  background-color: #ddd;
}

/* 个人中心 */
.my-head {
  height: 8em;
  text-align: center;
  background-color: #ff746c;
  color: #fff;
}
.my-head-content {
  padding-top: .7em;
}
.my-head-img {
  position: relative;
  display: inline-block;
  width: 5em;
  height: 5em;
  border: .3em solid rgba(0,0,0,0.13);
  border-radius: 50%;
  overflow: hidden;
}
.my-header-file-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
}
.my-list {
  margin: 1em 0;
}

/* 购物车 */
.pr-cart-item {
  position: relative;
  padding: .5em;
  border-bottom: 1px solid #ccc;
  background-color: #fff;
}
.pr-cart-good-img {
  text-align: center;
}
.pr-cart-good-attr,
.pr-cart-good-name,
.pr-cart-good-price {
  margin-bottom: .5em;
  font-size: .8em;
}
.pr-cart-good-price {
  color: #888;
}
.pr-cart-good-del {
  position: absolute;
  right: 3.5em;
  bottom: 1em;
}
.pr-account {
  position: fixed;
  background-color: #fff;
  bottom: 0;
  left: 0;
  right: 0;
}
.pr-account-info {
  padding: 1.5em;
  color: #f60;
}
.pr-account-right {
  position: absolute;
  right: .5em;
  bottom: .7em;
}
.pr-account-right .btn {
  width: 7em;
  height: 2.6em;
}

/* 提交订单 */
.pr-order-item {
  margin-bottom: 1rem;
  background-color: #fff;
  padding: 1rem 1rem 1rem 1rem;
  color: #666;
  font-size: .8em;
}
.pr-order-address {
  position: relative;
}
.pr-order-address:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5em;
  margin: -.5em 0 0 -.5em;
  width: 1em;
  height: 1em;
  border-top: .2em solid #9b9b9b;
  border-right: .2em solid #9b9b9b;
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.pr-order-money {
  margin-bottom: .7em;
}
.pr-order-money.total {
  color: #f60;
}
.pr-order-item .pr-btn {
  margin-top: 1em;
}
.pr-good-item {
  border-bottom: 1px dashed #ccc;
  padding: .5em 0 .5em;
}
.pr-good-item:last-of-type {
  border-bottom: none;
}
.pr-good-info {
  padding-left: 1em;
}
.pr-good-list-title {
  position: relative;
}
.pr-good-list-title:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -.5em;
  width: 1em;
  height: 1em;
  border-color: #999;
  border-style: solid;
  border-width: 2px 0 0 2px;
  -webkit-transform: scaleY(1) rotate(45deg);
      -ms-transform: scaleY(1) rotate(45deg);
          transform: scaleY(1) rotate(45deg);
  -webkit-transform-origin: center bottom;
      -ms-transform-origin: center bottom;
          transform-origin: center bottom;
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
}
.pr-good-list-container {
  display: none;
  margin-top: .5em;
}
.pr-good-list.open .pr-good-list-container {
  display: block;
}
.pr-good-list.open .pr-good-list-title:after {
  margin-top: -1.5em;
  -webkit-transform: scaleY(-1) rotate(45deg);
      -ms-transform: scaleY(-1) rotate(45deg);
          transform: scaleY(-1) rotate(45deg);
}
/* 收货地址 */
.deliver-address {
  padding: 1em;
}
.deliver-address-item {
  margin-bottom: 1em;
  padding: .7em;
  border: 1px solid #ddd;
  border-radius: .3em;
  overflow: hidden;
  background-color: #fff;
}
.deliver-address-item.active {
  border-color: #f60;
  color: #f60;
}
/* 收货地址的编辑 */
.form-item-label {
  display: block;
  margin-bottom: .5em;
}
.pr-address-edit {
  padding: 1em;
}
.pr-address-edit .province {
  margin-right: .5em;
}
.pr-address-edit .province,
.pr-address-edit .city,
.pr-address-edit .area {
  margin-bottom: .5em;
}

/* 我的订单 */
.order-list,
.order-detail {
  font-size: .875em;
}
.order-list-title {
  color: #333;
}

/* 订单详情 */
.order-detail-address {
  display: block;
  margin-left: 5em;
}

/* 订单支付 */
.pr-pay {
  padding: .8em;
}
.pr-pay-title {
  text-align: center;
  color: #88b24b;
}
.pr-pay-content {
  margin: 1em 0;
  padding: 1em 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.pr-pay-content-item {
  line-height: 2em;
  font-size: .875em;
}
.pr-pay-way-select {
  margin-top: 1em;
  margin-bottom: 1em;
}

/* 个人收获地址管理 */
.address-del-btn {
  position: absolute;
  top: 50%;
  right: -5em;
  z-index: 1;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}
.address-del-btn.active {
  right: .5em;
}

/* 其他信息 */
.other-info {
  margin: 1em;
  line-height: 1.8em;
}
.other-info-title {
  margin-bottom: 1em;
  font-weight: bold;
}

/* 搜索 */
.pr-search-container {
  height: 3em;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: .3em;
  background-color: #fff;
  overflow: hidden;
}
.pr-search-input {
  padding: .5em 1em;
  border: none;
  height: 100%;
}
.pr-search-submit {
  margin: 0;
  height: 100%;
  border: none;
  border-left: 1px solid #ccc;
  background: #f4f4f4;
}
.pr-search-btn {
  font-size: 2em;
  color: #888;
}

/* 交互层 */
.modal-confirm {
	position: fixed;
	top: 0;
	opacity: 0;
	z-index: 2000;
	width: 100%;
	min-height: 100%;
	overflow: hidden;
	-webkit-transition: -webkit-transform 0.25s,opacity 1ms 0.25s;
	-moz-transition: -moz-transform 0.25s,opacity 1ms 0.25s;
	transition: transform 0.25s,opacity 1ms 0.25s;
	-webkit-transform: translate3d(0, 100%, 0);
	-ms-transform: translate3d(0, 100%, 0);
	-moz-transform: translate3d(0, 100%, 0);
	transform: translate3d(0, 100%, 0);
}

.modal-confirm.active {
	display: block;
	opacity: 1;
	height: 100%;
	-webkit-transition: -webkit-transform 0.25s;
	-moz-transition: -moz-transform 0.25s;
	transition: transform 0.25s;
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}